<?php
include_once("./_common.php");

$id = $_GET['id'];


$image = $_POST['image'];
$filedir = $_POST['filedir'];
$name = time();

?>

<!-- 
<form action="./mail_send.php" method="post">
     <a><?=iconv('utf-8', 'euc-kr', '메일주소 :');?></a>
     <input type="text" name="mail_addr" id="mail_addr" size="35"></input>
     <p></p>
     <div class="wrap" style="text-align: center">
     <input type="submit" value="<?=iconv('utf-8', 'euc-kr', '전송');?>"/>
     <input type="button" value="<?=iconv('utf-8', 'euc-kr', '취소');?>" onClick="self.close()"/>
     </div>
</form>
-->
<script type="text/javascript">
<!--

//-->


</script>
<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
	</head>
<style type="text/css">
<!--
td { font-size:12px; color:#333333; font-weight:bold;}
table { border:#CCCCCC solid 1px;}
.form_name { width:60px; height:20px; font-size:12px; color:#666666; background-color:#FFFF; border:solid 1px #999999;}
.form_subject { width:250px; height:20px; font-size:12px; color:#666666; background-color:#FFFF; border:solid 1px #999999;}
.form_mail1 { width:150px; height:20px; font-size:12px; color:#666666; background-color:#E3E3E3; border:solid 1px #999999;}
.form_mail { width:100px; height:20px; font-size:12px; color:#666666; background-color:#E3E3E3; border:solid 1px #999999;}
.form_memo { width:300px; height:250px; font-size:12px; color:#666666; background-color:#E3E3E3; border:solid 1px #999999;}
.form_submit { width:60px; height:20px; font-size:12px; color:#FFFFFF; background-color:#999999; border: solid 1px }
.write_head { height:20px; text-align:center; color:#8492A0; }
-->
</style>

<body>
	<table width="433" border="0" cellspacing="0" cellpadding="0"><form action="./mail_send.php">
		<input type="hidden" name="id" value="<?php echo $id?>" />
	  <tr>
	    <td colspan="2">&nbsp;</td>
	  </tr>
	  <tr height="30">
	    <td class=write_head><?=iconv('utf-8', 'euc-kr', '받는이');?></td>
	    <td><input class='ed' style="width:150px;" type="text" class="form_name" name="name" maxlength="10"></td>
	  </tr>	
	  <tr height="30">
	    <td class='write_head'><strong><?=iconv('utf-8', 'euc-kr', '이메일');?></strong></td>
	    <td><input class='ed' name="mailid1" type="text" class="form_mail">
	      @
	      <input class='ed' name="mailid2" type="text" class="form_mail"></td>
	  </tr>
	  <tr height="30">
	    <td class='write_head'><?=iconv('utf-8', 'euc-kr', '제목');?></td>
	    <td><input class='ed' style="width:340px;" name="input_subject" type="text" class="form_subject" id="subject"></td>
	  </tr>
	  <!-- 
	  <tr>
	    <td align="center" valign="middle"><div align="center"><strong><?=iconv('utf-8', 'euc-kr', '문의 사항');?></strong></div></td>
	    <td><textarea name="memo" class="form_memo"><?=$f_name?></textarea></td>
	  </tr>
	  -->
	  <tr>
	    <td colspan="2">&nbsp;</td>
	  </tr>
	  <tr>
	    <td><div align="center"></div></td>
	    <td align="right">
	    <input name="Submit2" type="reset" class="form_submit" value="<?=iconv('utf-8', 'euc-kr', '다시쓰기');?>">
	    <input name="Submit" type="submit" class="form_submit" value="<?=iconv('utf-8', 'euc-kr', '보내기');?>">
	    </td>
	  </tr>
	  <tr>
	    <td colspan="2"></td>
	  </tr></form>
	</table>
</body>
</html>
